<div class="pwd-show-box">
    <div class="show-item flex-box">
        <div class="key">名称</div>
        <div class="val flex-item">{$d.name}</div>
    </div>
    <div class="show-item flex-box">
        <div class="key">账号</div>
        <div class="val flex-item">{$d.account}</div>
    </div>
    <div class="show-item flex-box">
        <div class="key">邮箱</div>
        <div class="val flex-item">{$d.email}</div>
    </div>
    <div class="show-item flex-box">
        <div class="key">电话</div>
        <div class="val flex-item">{$d.phone}</div>
    </div>
    <div class="show-item flex-box">
        <div class="key">其他</div>
        <div class="val flex-item">{$d.other}</div>
    </div>
    <div class="show-item flex-box">
        <div class="key">密码</div>
        <div class="val flex-item show_pwd_text" aiu_tip="点击查看/隐藏" pwd="{$d.pwd}">********</div>
    </div>
    <div class="show-item flex-box">
        <div class="key">备注</div>
        <div class="val flex-item remark">{$d.remark}</div>
    </div>
    <div class="show-item flex-box">
        <div class="key">创建时间</div>
        <div class="val flex-item">{:friend_date($d.regtime)}</div>
    </div>
    <div class="show-item flex-box">
        <div class="key">更新时间</div>
        <div class="val flex-item">{:friend_date($d.uptime)}</div>
    </div>
</div>

<script>
    $('[aiu_tip]').hover(function() {
        let t = $(this).attr('aiu_tip')
        let th = this
        if(t.length > 0) {
            layer.tips(t, th, {
                tips: 1
            })
        }
    }, function() {
        layer.closeAll('tips')
    })
</script>